package com.sen.dao;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sen.entity.EmpEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 职员表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-01-08 17:54:40
 */
@Mapper
public interface EmpDao extends BaseMapper<EmpEntity> {

    IPage<EmpEntity> queryAll(@Param("page") Page<EmpEntity> page, @Param(Constants.WRAPPER) QueryWrapper<EmpEntity> wrapper);
}
